await(async function () {
  await res(1);
})();

(async function () {
  await res(1);
})();

(async () => {
  await something();
})();

(async () => {
  something();
})();

function foo() {
  (async function bar() {})();
}

const foo = () =>
new Promise(res => {
  (async function () {
    await res(1);
  })();
});

(async function () {
  await res(1);
})();